package com.onenine.app.response;

import com.onenine.app.model.DynamicItem;
import com.onenine.base.model.PageInfo;
import com.onenine.base.okhttp.BaseResponse;

import java.util.ArrayList;
import java.util.List;

public class DynamicListResponse extends BaseResponse {

    private List<DynamicItem> dynamicItemList;
    private PageInfo pageInfo;

    public List<DynamicItem> getDynamicItemList() {
        if (dynamicItemList == null)
            return new ArrayList<>();
        return dynamicItemList;
    }

    public void setDynamicItemList(List<DynamicItem> dynamicItemList) {
        this.dynamicItemList = dynamicItemList;
    }

    public PageInfo getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfo pageInfo) {
        this.pageInfo = pageInfo;
    }
}
